package com.tiheima.service;

import com.tiheima.model.entity.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> depts();

    void deleteDept(Integer id);

    void saveDept(Dept dept);

    Dept getDeptById(Integer id);

    void updateDeptById(Dept dept);
}
